package com.pms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.pms.pojo.Post;

public interface JobMapper {
	
	public Post getJobByPostId(int postId);
	
	public List<Post> getJobByPostName(String postName);
	
	public List<Post> getJobByPostType(int postType);
	
	public List<Post> getJobList();
	
	public void insertJob(@Param("job")Post job);
	
	public void deleteJob(int postId);
	
	public void updateJob(@Param("job")Post job);

	public List<Post> getJobListByCondition(@Param("job")Post job);
	
}
